package com.hkccommunity.dto;

import java.util.List;

public class AnswerDto {

    private ProblemDto problemDto;

    private List<AnswerParentDto> answerParentDtoList;

    @Override
    public String toString() {
        return "AnswerDto{" +
                "problemDto=" + problemDto +
                ", answerParentDtoList=" + answerParentDtoList +
                '}';
    }

    public AnswerDto() {
    }

    public AnswerDto(ProblemDto problemDto, List<AnswerParentDto> answerParentDtoList) {
        this.problemDto = problemDto;
        this.answerParentDtoList = answerParentDtoList;
    }

    public ProblemDto getProblemDto() {
        return problemDto;
    }

    public void setProblemDto(ProblemDto problemDto) {
        this.problemDto = problemDto;
    }

    public List<AnswerParentDto> getAnswerParentDtoList() {
        return answerParentDtoList;
    }

    public void setAnswerParentDtoList(List<AnswerParentDto> answerParentDtoList) {
        this.answerParentDtoList = answerParentDtoList;
    }
}
